package Model;

import java.io.Serializable;


public class Employee implements Serializable {
    
    private String name;
    private String middleName;
    private String lastName;
    private Department department;
    private int phoneNumber;  
    private int pay;
              
    public Employee()
    {
        this.name = null;
        this.middleName = null;
        this.lastName = null;
        this.department = null;
        this.phoneNumber = 0;
        this.pay = 0;

    }

    public Employee (String name, String middleName, String lastName, Department dep, int phone, int pay)
    {
        this.name = name;
        this.middleName = middleName;
        this.lastName = lastName;
        this.department = dep;
        this.phoneNumber = phone;
        this.pay = pay;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public void setMiddleName(String middleName) {
        this.middleName = middleName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public void setPhoneNumber(int phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public void setPay(int pay) {
        this.pay = pay;
    }

    public String getName() {
        return name;
    }

    public String getMiddleName() {
        return middleName;
    }

    public String getLastName() {
        return lastName;
    }

    public Department getDepartment() {
        return department;
    }

    public int getPhoneNumber() {
        return phoneNumber;
    }

    public int getPay() {
        return pay;
    }
    
    
    
}
